package no.hiof.servercommunication.receive.beans;

import java.util.List;
import java.util.ArrayList;

public class UserInfo implements Packet {
	private int userId;
	private String username;
	private String fullname;
	private String profilePicture;
	private String mobilePhone;
	private int attendantId;
	private String attendantCode;
	private List<UserInfo> teamMembers;

	public UserInfo(int userId, String username, String fullname,
			String profilePicture, String mobilePhone, int attendantId,
			String attendantCode) {
		this.userId = userId;
		this.username = username;
		this.fullname = fullname;
		this.profilePicture = profilePicture;
		this.mobilePhone = mobilePhone;
		this.attendantId = attendantId;
		this.attendantCode = attendantCode;
		this.teamMembers = new ArrayList<UserInfo>();
	}

	public int getUserId() {
		return this.userId;
	}

	public void setUserId(int userId) {
		this.userId = userId;
	}

	public String getUsername() {
		return this.username;
	}

	public void setUsername(String username) {
		this.username = username;
	}

	public String getFullname() {
		return this.fullname;
	}

	public void setFullname(String fullname) {
		this.fullname = fullname;
	}

	public String getProfilePicture() {
		return this.profilePicture;
	}

	public void setProfilePicture(String profilePicture) {
		this.profilePicture = profilePicture;
	}

	public String getMobilePhone() {
		return this.mobilePhone;
	}

	public void setMobilePhone(String mobilePhone) {
		this.mobilePhone = mobilePhone;
	}

	public int getAttendantId() {
		return this.attendantId;
	}

	public void setAttendantId(int attendantId) {
		this.attendantId = attendantId;
	}

	public String getAttendantCode() {
		return this.attendantCode;
	}

	public void setAttendantCode(String attendantCode) {
		this.attendantCode = attendantCode;
	}

	public List<UserInfo> getTeamMembers() {
		return this.teamMembers;
	}

	public void addTeamMembersElement(UserInfo element) {
		this.teamMembers.add(element);
	}

}
